package indi.zhifa.recipe.bailan.framework.queue.handler;

import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
public class RedisConsumer {

    private final BaseRedisMsgConsumerListener mRedisMsgConsumerService;
    private final IRedisMsgErrHandler mRedisMsgErrService;

    public IRedisMsgErrHandler getErrMsgHandler(){
        return mRedisMsgErrService;
    }

    public BaseRedisMsgConsumerListener getRedisMsgConsumerHandler(){
        return mRedisMsgConsumerService;
    }
}
